74891322501fe08afb1110c5b040c28c50723b41,sor/src/main/java/com/bazaarvoice/emodb/sor/db/astyanax/AstyanaxDataReaderDAO.java,AstyanaxDataReaderDAO,newRecord,#Key#ByteBuffer#ColumnList#number#ReadConsistency#,1054
Before Change
// practice at most two of the iterators are actually consumed (one or more is ignored) so the columnScan
// should avoid actually doing any work until the first item is fetched from the iterator.
changeIter = Iterators.concat(changeIter, decodeChanges(
columnScan(rowKey, placement, columnFamily, lastColumn, null, false, Long.MAX_VALUE, 1, consistency)));
compactionIter = Iterators.concat(compactionIter, decodeCompactions(
columnScan(rowKey, placement, columnFamily, lastColumn, null, false, Long.MAX_VALUE, 1, consistency)));
rawMetadataIter = Iterators.concat(rawMetadataIter, rawMetadata(
After Change
// practice at most two of the iterators are actually consumed (one or more is ignored) so the columnScan
// should avoid actually doing any work until the first item is fetched from the iterator.
changeIter = Iterators.concat(changeIter, decodeChanges(
getFilteredColumnIter(columnScan(rowKey, placement, columnFamily, lastColumn, null, false, Long.MAX_VALUE, 1, consistency), cutoffTime)));
compactionIter = Iterators.concat(compactionIter, decodeCompactions(
getFilteredColumnIter(columnScan(rowKey, placement, columnFamily, lastColumn, null, false, Long.MAX_VALUE, 1, consistency), cutoffTime)));
rawMetadataIter = Iterators.concat(rawMetadataIter, rawMetadata(